package com.nuoniu.sibanyun.entity.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @ClassName ErpAccountingSearchDto
 * @Description TODO
 * @Authpr baiqiang
 * @Date 2020/9/27 17:40
 **/
@Data
@ApiModel("会计科目查询DTO")
public class ErpAccountingSearchDto {

    @ApiModelProperty(value = "编号 ")
    @TableField("code")
    private String code;

    @ApiModelProperty(value = "科目名称")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "科目类别id ")
    @TableField("accounting_type_id")
    private Integer accountingTypeId;

    @ApiModelProperty(value = "借贷方向 （1：借方 2：贷方）")
    @TableField("dc_direction")
    private Integer dcDirection;

    @ApiModelProperty(value = "是否末级")
    @TableField("is_end_node")
    private Integer isEndNode;

    @ApiModelProperty(value = "停用 ")
    @TableField("disabled")
    private Integer disabled;

    @ApiModelProperty(value = "搜索关键字")
    private String searchKey;

    @ApiModelProperty(value = "个人科目")
    private Integer isAuxaccPerson;

    @ApiModelProperty(value = "部门科目")
    private Integer isAuxaccDepartment;

    @ApiModelProperty(value = "客户科目")
    private Integer isAuxaccCustomer;

    @ApiModelProperty(value = "供应商科目")
    private Integer isAuxaccSupplier;

    @ApiModelProperty(value = "项目科目")
    private Integer isAuxaccProject;

    @ApiModelProperty(value = "存货项目")
    private Integer isAuxaccInventory;

    @ApiModelProperty(value = "是否现金科目")
    private Boolean isCash;

    @ApiModelProperty(value = "是否银行科目")
    private Boolean isBank;

    @ApiModelProperty(value = "是否日结账")
    private Boolean isDayBook;

    @ApiModelProperty(value = "搜素类型")
    private Integer searchType;
}
